// 微信相关工具函数
export const loginWeChatMP = () => {
  return new Promise((resolve, reject) => {
    uni.login({
      provider: 'weixin',
      success: res => resolve(res),
      fail: err => reject(err),
    });
  });
};
